package cn.adkii.springframework.test.bean;

import java.util.HashMap;
import java.util.Map;

/**
 * @author malingdi
 * @description
 * @date 2023/11/21 15:05
 */
public class UserDao {

    private static Map<String, String> hashMap = new HashMap<>();

    static {
        hashMap.put("10001", "adkii");
        hashMap.put("10002", "八杯水");
        hashMap.put("10003", "阿毛");
    }

    public String queryUserName(String uId){
        return hashMap.get(uId);
    }
}
